package com.pos.dao.impl;

import com.pos.dao.PermissionDAO;
import com.pos.pojo.Permission;
import com.pos.pojo.Role;
import org.springframework.orm.hibernate5.HibernateTemplate;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

public class PermissionDAOImpl extends HibernateTemplate implements PermissionDAO {
    @Override
    public Set<String> listPermissions(String userName) {
        return null;
    }

    @Override
    public List<Permission> list(Role role) {
        List<Permission> result = new ArrayList<>();

        return null;
    }


    @Override
    public List<Permission> list() {
        return null;
    }

    @Override
    public void add(Permission permission) {

    }

    @Override
    public void delete(int permission_id) {

    }

    @Override
    public Permission get(int permission_id) {
        return null;
    }

    @Override
    public void update(Permission permission) {

    }
}
